<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Order extends Model
{
    protected $table='order';
//订单添加
public static function addOrder($data){
    return self::insert($data);
}
//订单信息查询
    public static function OrderInfo($g_id){
        return self::where('o_id',$g_id)->find();
    }
}
